#include"queue.h"


void test1()
{
	queue s;
	queue* p = &s;
	initqueue(p);
	queuepush(p,1);
	queuepush(p,2);
	queuepush(p,3);
	printf("%d\n", queuefront(p));
	printf("%d\n", queueback(p));
	printf("%d\n", QueueSize(p));
	queuepop(p);
	queuepush(p, 4);
	printf("%d\n", queuefront(p));
	printf("%d\n", queueback(p));
	destory(p);
}
int main()
{
	test1();
	return 0;
}